package bdz.projects.inl.events {
	import flash.events.Event;

	public class INLModelEvent extends Event {
		
		public static var REQUEST_PROGRESS:String = "requestProgress";
		public static var REQUEST_COMPLETE:String = "requestComplete";
		public static var REQUEST_FAULT:String = "requestFault";
		public static var REQUEST_ERROR:String = "requestError";
		public static var PROCESS_ERROR:String = "processError";
		public static var REQUEST_STARTED:String = "requestStarted";
		public var data:*;
		
		public function INLModelEvent(type:String, info:*, bubbles:Boolean=false, cancelable:Boolean=false) {
			data = info;
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event {
			return new INLModelEvent(type, data, bubbles, cancelable);
		}
		
	}
}